package com.ibigcat.module.mdm.controller.admin.operatorlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.ibigcat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.ibigcat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 操作日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OperatorLogPageReqVO extends PageParam {

    @Schema(description = "修改前的日志信息")
    private String targetObj;

    @Schema(description = "修改前的齐全数据")
    private String targetAlldata;

    @Schema(description = "修改后的日志信息")
    private String sourceAlldata;

    @Schema(description = "来源类型", example = "2")
    private String sourceType;

    @Schema(description = "来源关联ID（例如商品ID，第三方管理ID）", example = "24754")
    private Long sourceId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}